/*
 * @file iso9660_shell.h
 *
 *  Shell commands used to debug ISO9660 volumes.
 *
 */

#ifndef __ISO9660_SHELL_H_
#define __ISO9660_SHELL_H_

#include <rtems/shell.h>

/**
 * Shell helper to debug ISO9660 volumes
 *
 * @param argc The argument count.
 * @param argv The argument variables.
 * @return int The exit code for the command. A 0 is no error.
 */
int rtems_shell_debugiso9660(int argc, char *argv[]);

/**
 *   Displays information on the given volume
 *
 * @param fs   Pointer to the iso9660 filesystem information structure
 * @param argc Number of arguments related to this routine
 * @param argv Arguments related to this routine
 *
 * @return 0
 */
int iso9660_dbg_volume(
    iso9660_fs_info_t   *fs,
    char                *path,
    int                  argc,
    char               **argv
);

extern rtems_shell_cmd_t Shell_ISO9660_Command;
extern rtems_shell_alias_t Shell_ISO9660_Alias;

#endif /* __ISO9660_SHELL_H_ */
